package controllers;

import models.Organization;
import play.mvc.Controller;
import play.mvc.With;


@With(Secure.class)

public class OrganizationProfile extends Controller {

	/**
	 * renders the public profile of a given company
	 * 
	 * @author XtarX
	 * @param orgName
	 */
	public static void profile(String orgName) {
		Organization organization = Organization.find("name=?", orgName)
				.first();
		render(organization);

	}

}
